package com.entity;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.Instant;

/**
 * @className: FlightRealTimeData
 * @description: 飞行实时数据
 * @author: Li Chuanwei
 * @date: 2024/04/01 11:04
 * @Company: Copyright [日期] by [作者或个人]
 **/
@Data
@Measurement(name = "t_flightrealtimedata", database = "uavfmt")
public class FlightRealTimeData {
    @Column(name = "time")
    private Instant time;

    @Column(name = "time_id",tag = true)
    private String timeId;

    @Column(name = "x")
    private String x;

    @Column(name = "y")
    private String y;

    @Column(name = "z")
    private String z;

    @Column(name = "yaw")
    private String yaw;

    @Column(name = "roll")
    private String roll;

    @Column(name = "pitch")
    private String pitch;

    @Column(name = "customModeText")
    private String customModeText;

    @Column(name = "groundSpeed")
    private String groundSpeed;

    @Column(name = "systemStatusText")
    private String systemStatusText;
}
